package com.vsd.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.demo.domain.Focus;


/**
 * 用户服务网接口定义
 * 
 * @author jiekechoo
 *
 */
public interface FocusService {

	Page<Focus> findByLocationAndRestraint(Integer location,String restraint,Pageable p);
	Page<Focus> findByLocation(Integer location,Pageable p);
	Page<Focus> findAll(Pageable p);
	
	Page<Focus> findLocationAndAreaCode(Integer location,String areaCode,Pageable p);
	
	void save(Focus f);
	
	void delById(String id);
	
	int updateByPrimaryKeySelective(Focus f);
	
	Focus findOne(String id);
	
}
